
const state = {
    dialogFormVisible: false,
    departId: '',
}

const mutations = {
    SET_DialogDepartId: (state, val) => {
        state.dialogFormVisible = true
        state.departId = val
    },
    SET_Dialog: (state) => {
        state.dialogFormVisible = true
    },
    SET_DialogFormVisible: (state) => {
        state.dialogFormVisible = false
        state.departId = ''
    },
}

const actions = {
}

export default {
    namespaced: true,
    state, mutations, actions
}